import Vue from 'vue'
import App from '@/App.vue'
//路由
import router from '@/router/index'

import VueRouter from 'vue-router'
//全局样式
import './style.css'
//ui库
import Element  from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//粒子动画
import particles from 'particles.js'

//全局字体样式
import setRem from '@/utils/gloablFont.js'

//vuex
import store from "@/store";

setRem()

window.onresize = function () {
    setRem()
}

Vue.use(particles)

Vue.use(Element, { size: 'middle', zIndex: 3000 });


Vue.config.productionTip = false
Vue.use(VueRouter)
new Vue({
    router,
    render: h => h(App),
    store
}).$mount('#app')
